<template>
	<view class="index-view"><web-view class="web-view" :src="src"></web-view></view>
</template>

<script>
import { mapState } from 'vuex';
export default {
	data() {
		return {
			src: ''
			// links: []
		};
	},
	onLoad(option) {
		if (option.src) {
			this.src = decodeURIComponent(option.src);
			console.log(this.src);
		}
	},
	computed: {
		...mapState(['userInfo'])
	},
	methods: {}
};
</script>

<style lang="scss">
.web-view {
	display: block;
}
</style>
